wpforo\modules\reactions\Reactions A

Total Complexity 71
Dependencies 3
Dependents 4
Total lines 370
Lines of code 255
Logical lines of code 147
Comment lines 58
Methods 32
Properties 3

Methods 32

Method Rating Maintainability Complexity Lines of code
build_sql_wheres()
A
53 13 17
delete()
S
56 7 14
build_sql_select()
S
59 6 11
edit()
S
58 4 15
_get_reaction()
S
66 4 7
init_defaults()
S
48 1 40
get_user_reaction()
S
67 3 7
add()
S
59 2 15
decode()
S
60 2 12
get_types()
S
58 1 16
get_likes_for_topic()
S
65 2 9
_get_reactions_col()
S
70 2 5
delete_for_all_active_boards()
S
77 2 3
get_sum()
S
73 2 4
edit_for_all_active_boards()
S
77 2 3
is_reacted()
S
68 2 6
get_post_reactions_user_dnames()
S
61 1 14
parse_args()
S
62 1 12
get_user_reaction_reaction()
S
75 1 4
get_post_reactions_count()
S
78 1 3
get_received_reactions_count()
S
78 1 3
get_reacted_count()
S
78 1 3
__construct()
S
78 1 4
get_count()
S
78 1 3
_get_count()
S
78 1 3
get_reactions_col()
S
77 1 3
get_reactions()
S
78 1 3
_get_reactions()
S
76 1 3
init_classes()
S
76 1 4
encode()
S
80 1 3
get_type_list()
S
80 1 3
get_reaction()
S
78 1 3